<div class="row">
  <div class="col-sm-10">
    <%= form_with model: @article, local: true do |form| %>

      <div class="panel panel-primary">
        <div class="panel-body", style="height: 800px">
          <h1 style="text-align: center"><%= @article.title %></h1>
          <%= @article.text %>
        </div>
      </div>


    <% end %>
  </div>
  <div class="col-sm-2">
    <h2>Comments</h2>
    <%= render @article.comments %>
    <h2>Add a comment:</h2>
    <%= render 'comments/form' %>
  </div>
</div>

